package com.ams.studio.xml;


import java.lang.reflect.Field;
import java.util.List;

/**

 * Created by zhongyl on 2015/12/10.

 */

public class ObjectInfo {

    private Class<?> ownerClass;
    private List<Field> contractFields;

    public static ObjectInfo New(Class<?> ownerClass, List<Field> contractFields) {
        ObjectInfo instance = new ObjectInfo();
        instance.ownerClass = ownerClass;
        instance.contractFields = contractFields;
        return instance;
    }

    public Class<?> getOwnerClass() {
        return ownerClass;
    }

    public List<Field> getContractFields() {
        return contractFields;
    }
}

